﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Visitor.master" AutoEventWireup="true" CodeFile="LookUpZIP.aspx.cs" Inherits="Visitor_LookUpZIP" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

<script type="text/javascript">
    function ShowMessage() {
        alert('Please enter a city or province name!');
        window.location.href = 'LookUpZIP.aspx';
    }

</script>
    <style type="text/css">
        .style7
        {
            width: 195px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="head">
<asp:Label ID="Label1" runat="server" ForeColor="White" Text="Look up ZIP code" 
                    Font-Bold="True" Font-Size="Small" ></asp:Label>
</div>

    <table class="style3" align="center" >
        <tr>
        <td class="style1" style="width: 12%">
                &nbsp;</td>
        <td class="style7">
            Enter City/Province name</td>
        <td class="style1">
            <asp:TextBox ID="txtCName" runat="server" Width="170px"></asp:TextBox>
        </td>
        </tr>
        <tr>
        <td class="style1" style="width: 12%">
                &nbsp;</td>
        <td class="style7">
            &nbsp;</td>
        <td class="style1">
            &nbsp;</td>
        </tr>
    <tr>
        <td class="style1" style="width: 12%">
                &nbsp;</td>
        <td class="style7">
                &nbsp;</td>
        <td class="style1">
                <asp:ImageButton ID="imgbFind" runat="server" 
                    ImageUrl="~/images/btnFind.png" onclick="imgbFind_Click" />
        </td>
    </tr>
    <tr>
        <td class="style1" style="width: 12%">
                &nbsp;</td>
        <td class="style7" align="right">
                &nbsp;</td>
        <td class="style1">
                &nbsp;</td>
    </tr>
    <tr>
        <td class="style1" style="width: 12%">
                &nbsp;</td>
        <td class="style7" align="right">
                <asp:Label ID="lbZipCode" runat="server" style="font-weight: 700">ZipCode:</asp:Label>
        </td>
        <td class="style1">
                <asp:Label ID="lblResult" runat="server" style="font-weight: 700"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style1" style="width: 12%">
                &nbsp;</td>
        <td class="style7">
                &nbsp;</td>
        <td class="style1">
                &nbsp;</td>
    </tr>
    </table>
</asp:Content>

